let g:maplocalleader = ','
function! filetype#tex#init() abort
    setlocal ts=4 sw=4 et conceallevel=0
    if !hasmapto('<Plug>(vimtex-info)')
        nmap <buffer> <localleader>li <Plug>(vimtex-info)
        nmap <buffer> <localleader>ll <Plug>(vimtex-compile)
        nmap <buffer> <localleader>lv <Plug>(vimtex-view)
    endif
endfunction

